<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
    <head>
        <link rel="stylesheet" href="/msi/css/main.css" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>登录测试</title>
    </head>
    <body>
        <h1>测试登录</h1>
        <g:hasErrors bean="${logincommand}">
            <div class="errors">
                <g:renderErrors bean="${logincommand}" as="list" />
            </div>
        </g:hasErrors>

        <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
        </g:if>
        <form action="/msi/login/login?${System.currentTimeMillis()}" method="POST">
            <div class="dialog">
                <table>
                    <tbody>

                        <tr class="prop">
                            <td valign="top" class="name">
                                <label for="agentDN">座席编号:</label>
                            </td>
                            <td valign="top" class="value ">
                                <input name="agentID"/>
                            </td>
                        </tr>

                        <tr class="prop">
                            <td valign="top" class="name">
                                <label for="domain">绑定电话:</label>
                            </td>
                            <td valign="top" class="value ">
                                <input name="agentDN"/>
                            </td>
                        </tr>

                        <tr class="prop">
                            <td valign="top" class="name">
                                <label for="password">登录密码:</label>
                            </td>
                            <td valign="top" class="value ">
                                <input type="password" maxlength="15" id="password" name="password" value=""/>
                            </td>
                        </tr>
                        <tr class="prop">
                            <td valign="top" class="name">
                                <label for="password">时间:</label>
                            </td>
                            <td valign="top" class="value ">
                                ${new Date(System.currentTimeMillis())}
                            </td>
                        </tr>



                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <span class="button"><input class="save" type="submit" value="登录" /></span>
            </div>
        </form>

    </body>
</html>
